<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>

<body>
  <script>
    // let obj = {
    //   uname: '小米',
    //   num: '商品编号',
    //   weight: '商品重量',
    //   address: '商品产地'
    // }
    // obj.uname = '小米10plus'
    // obj.color = '粉色'
    // delete obj.color
    // console.log(obj.uname);
    // console.log(obj.num);
    // console.log(obj.weight);
    // console.log(obj.address);
    // console.log('--------------');
    // console.log(obj['uname'])
    // console.log(obj['num'])
    // console.log(obj['weight'])
    // console.log(obj['address'])
    // let person = {
    //   sing: function () {
    //     document.write('最初的梦想')
    //   },
    //   dance: function () {
    //     document.write('芭蕾舞')
    //   }
    // }
    // person.sing()
    // person.dance()


  </script>
</body>

</html>